FROM java:8
ADD target/iforum-bbs.jar iforum-bbs.jar
EXPOSE 80
ENV JAVA_OPTS=""
ENTRYPOINT ["sh", "-c", "java $JAVA_OPTS -jar /iforum-bbs.jar"]